<%@ page import = "java.util.Date" %>
<%@ page import = "java.lang.Exception" %>
<%@ page import = "java.io.PrintWriter" %>
<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<table border="0" cellpadding="0" cellspacing="0" width="550" align="center">
    <tr>
	<td align="left" valign="top">
          <c:if test="${user_session == null or user_session.type != '1'}">
              <p><b>Error Message</b>:异常信息已经报告给管理员</p>
          </c:if>
          <c:if test="${user_session.type == '1'}">
          <bean:write name="fatal.error" ignore="true" scope="request" />
          <p>
            <b>Error Detail:</b><br>
            <%
                Exception e = (Exception)request.getAttribute("qae");
                if(e != null)
                e.printStackTrace(response.getWriter());
            %>
          </p>
          </c:if>
          <br>
          Date & Time : <%=new Date()%>
          <br><br>
          <html:link action="index">首页</html:link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:history.back();return false;">上一页</a>
        </td>
    </tr>
</table>    
        
  